<cpanel include="./config.php">

<?

/***************************************************************************
 *                                 index.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.2
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = './';

include $root_path.'common.php';

$page_title = $lang['index'];
include $root_path.'page_header.php';

$template->set_filenames(array(
	'body' => $root_path.$template_path.'index.tpl')
);

//
// Get general data from cpanel to be displayed on the home page
//

//
// General switches
//
$is_reseller_login = <<<EOFpacman
<cpanelif $isresellerlogin>test</cpanelif>
EOFpacman;

if (!empty($is_reseller_login)) {
	$template->assign_block_vars('switch_reseller', array());
}

$is_pro = <<<EOFpacman
<cpanelif $CPFLAGS{'pro'}>test</cpanelif>
EOFpacman;
if (!empty($is_pro)) {
	$template->assign_block_vars('switch_pro', array());
}


// General stuff
$last_login = <<<EOF
<cpanel LastLogin="lastlogin()">
EOF;

$check_contact_email = <<<EOF
<cpanel CustInfo="checkcontactemail()">
EOF;

$news = <<<EOF
<cpanel News="displaynews()">
EOF;
if (trim($news)!='') {
	$template->assign_block_vars('switch_news', array());
};

$hosting_package = <<<EOF
<cpanel PkgInfo="strippedplanname()">
EOF;

$reseller_domains = <<<EOFpacman
<cpanel Resellers="accountlistopt()">
EOFpacman;

$bandwidth_limit = <<<EOFpacman
<cpanel print="$CPDATA{'BWLIMIT'}">
EOFpacman;
if (empty($bandwidth_limit))
{
	$bandwidth_limit = $lang['unlimited'];
}
else
{
	$bandwidth_limit = $bandwidth_limit / 1048576;
	$bandwidth_limit .= ' '.$lang['mb'];
};

// cPanel Pro version
if ($is_pro)
{
	$cpanel_pro_version = '<cpanel include="../x/cpanelpro/version">';
};


//
// Then send it to the template system
//

$template->assign_vars(array(
	//
	// General stuff
	//
	'LAST_LOGIN' => $last_login,
	'CHECK_CONTACT_EMAIL' => $check_contact_email,
	'NEWS' => $news,
	'HOSTING_PACKAGE' => $hosting_package,

	'S_RESELLER_DOMAINS' => $reseller_domains,
	'S_RESELLER_SWITCH_ACCOUNT' => 'switchaccount.php',

	'U_RESELLER_WHM' => '/xferwhm/',

	'L_WELCOME_MESSAGE' => sprintf($lang['welcome_message'], $domain, $last_login),
	'L_RESELLER_OPTIONS' => $lang['reseller_options'],
	'L_MANAGE_ANOTHER_ACCOUNT' => $lang['manage_another_account'],
	'L_CHANGE_ACCOUNT' => $lang['change_account'],
	'L_SWITCH_TO_WHM' => $lang['switch_to_whm'],
	'L_NEWS' => $lang['news'],


	
	//
	// Account
	//
	'IP' => "<cpanel print="$ip">",
	'NAME_SERVER_1' => $config['name_server_1'],
	'NAME_SERVER_2' => $config['name_server_2'],
	'HOSTNAME' => "<cpanel hostname="">",
	'HOSTING_PROVIDER' => $config['hosting_provider_name'],
	'U_HOSTING_PROVIDER' => $config['hosting_provider_url'],

	'L_ACCOUNT' => $lang['account'],
	'L_HOSTING_PROVIDER' => $lang['hosting_provider'],
	'L_HOSTING_PACKAGE' => $lang['hosting_package'],
	'L_DEDICATED_IP' => $lang['dedicated_ip'],
	'L_SHARED_IP' => $lang['shared_ip'],
	'L_NAME_SERVER_1' => $lang['name_server_1'],
	'L_NAME_SERVER_2' => $lang['name_server_2'],
	'L_CHANGE_PASSWORD' => $lang['change_password'],
	'L_CHANGE_CONTACT_ADDRESS' => $lang['change_contact'],
	'L_SEARCH_ENGINE_SUBMIT' => $lang['search_engine_submit'],
	'L_SHELL_ACCESS' => $lang['shell_access'],
	'L_SUPPORT_REQUEST' => $lang['support_request'],
	'L_PREFERENCES' => $lang['preferences'],
	'L_HOSTNAME' => $lang['hostname'],



	//
	// Bandwidth
	//
	'BANDWIDTH_THIS_MONTH' => "<cpanel Stats="countbandwidth()">",
	'BANDWIDTH_LIMIT' => $bandwidth_limit,
	'U_ACCESS_LOGS' => "<cpanel Cgi="accessloglink()">",
	
	'L_BANDWIDTH' => $lang['bandwidth'],
	'L_BANDWIDTH_USAGE' => $lang['bandwidth_usage'],
	'L_BANDWIDTH_THIS_MONTH' => $lang['bandwidth_this_month'],
	'L_RAW_ACCESS_LOGS' => $lang['raw_access_logs'],
	'L_RAW_LOG_MANAGER' => $lang['raw_log_manager'],
	'L_ERROR_LOG' => $lang['error_log'],
	'L_STATISTICS' => $lang['statistics'],
	'L_SUBDOMAIN_STATS' => $lang['subdomain_stats'],
	'L_BANDWIDTH_LIMIT' => $lang['bandwidth_limit'],
	
	
	
	//
	// Databases
	//
	'MYSQL_VERSION' => "<cpanel Serverinfo="mysqlversion()">",
	'MYSQL_DATABASES' => "<cpanel Mysql="countdbs()">",
	'MAX_MYSQL_DATABASES' => "<cpanel print="$CPDATA{'MAXSQL'}">",
	'MYSQL_DISK_USAGE' => "<cpanel Mysql="diskusage()">",
	
	'POSTGRESQL_DATABASES' => "<cpanel Postgres="countdbs()">",
	'MAX_POSTGRESQL_DATABASES' => "<cpanel print="$CPDATA{'MAXSQL'}">",

	'L_DATABASES' => $lang['databases'],
	'L_MYSQL_VERSION' => $lang['mysql_version'],
	'L_MYSQL_DATABASES' => $lang['mysql_databases'],
	'L_MYSQL_DISK_USAGE' => $lang['mysql_disk_usage'],
	'L_POSTGRESQL' => $lang['postgresql'],



	//
	// Domains
	//
	'SUBDOMAINS' => "<cpanel SubDomain="countsubdomains()">",
	'MAX_SUBDOMAINS' => "<cpanel print="$CPDATA{'MAXSUB'}">",
	'PARKED_DOMAINS' => "<cpanel Park="countparked()">",
	'MAX_PARKED_DOMAINS' => "<cpanel print="$CPDATA{'MAXPARK'}">",
	'ADDON_DOMAINS' => "<cpanel Park="countaddons()">",
	'MAX_ADDON_DOMAINS' => "<cpanel print="$CPDATA{'MAXADDON'}">",
	
	'L_DOMAINS' => $lang['domains'],
	'L_SUBDOMAINS' => $lang['subdomains'],
	'L_PARKED_DOMAINS' => $lang['parked_domains'],
	'L_ADDON_DOMAINS' => $lang['addon_domains'],
	'L_ERROR_PAGES' => $lang['error_pages'],



	//
	// Email
	//
	'POP_ACCOUNTS' => "<cpanel Email="countpops()">",
	'MAX_POP_ACCOUNTS' => "<cpanel print="$CPDATA{'MAXPOP'}">",
	'FORWARDERS' => "<cpanel Email="countforwards()">",
	'AUTORESPONDERS' => "<cpanel Email="countresponders()">",
	'MAILING_LISTS' => "<cpanel Email="countlists()">",
	'MAX_MAILING_LISTS' => "<cpanel print="$CPDATA{'MAXLST'}">",
	'MAIL_FILTERS' => "<cpanel Email="countfilters()">",

	'L_EMAIL' => $lang['email'],
	'L_EMAIL_ACCOUNTS' => $lang['email_accounts'],
	'L_EMAIL_FORWARDERS' => $lang['email_forwarders'],
	'L_AUTORESPONDERS' => $lang['autoresponders'],
	'L_MAILING_LISTS' => $lang['mailing_lists'],
	'L_MAIL_FILTERS' => $lang['mail_filters'],
	'L_BOX_TRAPPER' => $lang['box_trapper'],
	'L_DEFAULT_ADDRESS' => $lang['default_address'],
	'L_EMAIL_DOMAIN_FORWARDING' => $lang['email_domain_forwarding'],
	'L_MODIFY_MX' => $lang['modify_mx'],
	'L_SPAM_ASSASSIN' => $lang['spam_assassin'],
	'L_TRACE_ADDRESS' => $lang['trace_address'],
	'L_WEBMAIL' => $lang['webmail'],



	//
	// Files
	//
	'DISK_SPACE_USED' => "<cpanel Quota="showquotaused()">",
	'DISK_SPACE_REMAINING' => "<cpanel Quota="showquotaremain()">",
	'FTP_ACCOUNTS' => "<cpanel Ftp="countftp()">",
	'MAX_FTP_ACCOUNTS' => "<cpanel print="$CPDATA{'MAXFTP'}">",
	'FTP_ADDRESS' => "ftp.".$domain,

	'L_FILES' => $lang['files'],
	'L_DISK_USAGE' => $lang['disk_usage'],
	'L_DISK_SPACE_REMAINING' => $lang['disk_space_remaining'],
	'L_FTP_ACCOUNTS' => $lang['ftp_accounts'],
	'L_ANON_FTP' => $lang['anon_ftp'],
	'L_BACKUP' => $lang['backup'],
	'L_FILE_MANAGER' => $lang['file_manager'],
	'L_FTP_SESSIONS' => $lang['ftp_sessions'],
	'L_IMAGE_MANAGER' => $lang['image_manager'],
	'L_INDEX_MANAGER' => $lang['index_manager'],
	'L_REDIRECTS' => $lang['redirects'],
	'L_FTP_ADDRESS' => $lang['ftp_address'],



	//
	// Scripts
	//
	'L_SCRIPTS' => $lang['scripts'],
	'L_AGORA_SHOPPING_CART' => $lang['agora_shopping_cart'],
	'L_INTERCHANGE' => $lang['interchange'],
	'L_CHATROOM' => $lang['chatroom'],
	'L_PHPMYCHAT' => $lang['phpmychat'],
	'L_CGI_CENTER' => $lang['cgi_center'],
	'L_SCRIPTS_LIBRARY' => $lang['scripts_library'],



	//
	// Server
	//
	'OPERATING_SYSTEM' => "<cpanel Serverinfo="os()">",
	'KERNEL_VERSION' => "<cpanel Serverinfo="kernelver()">",
	'APACHE_VERSION' => "<cpanel Serverinfo="apacheversion()">",
	'PERL_VERSION' => "<cpanel Serverinfo="perlversion()">",
	'PATH_TO_PERL' => "<cpanel Serverinfo="perlpath()">",
	'SENDMAIL_PATH' => "<cpanel Serverinfo="sendmailpath()">",
	'PHP_VERSION' => "<cpanel Serverinfo="phpversion()">",
	'CPANEL_VERSION' => "<cpanel version=""> <cpanel build="getbuild()">",
	'CPANEL_PRO_VERSION' => $cpanel_pro_version,
	'MACHINE_TYPE' => "<cpanel Serverinfo="machine()">",
	'UPTIME' => "<cpanel shortuptime="">",
	'TEMPLATE_NAME' => $template_cfg['name'].' '.$template_cfg['version'],
	'LANGUAGE_NAME' => $language_name,

	'L_SERVER' => $lang['server'],
	'L_UPTIME' => $lang['uptime'],
	'L_OPERATING_SYSTEM' => $lang['operating_system'],
	'L_MACHINE_TYPE' => $lang['machine_type'],
	'L_KERNEL_VERSION' => $lang['kernel_version'],
	'L_APACHE_VERSION' => $lang['apache_version'],
	'L_PERL_VERSION' => $lang['perl_version'],
	'L_PATH_TO_PERL' => $lang['path_to_perl'],
	'L_SENDMAIL_PATH' => $lang['sendmail_path'],
	'L_PHP_VERSION' => $lang['php_version'],
	'L_CPANEL_VERSION' => $lang['cpanel_version'],
	'L_CPANEL_PRO_VERSION' => $lang['cpanel_pro_version'],
	'L_TEMPLATE_NAME' => $lang['template_name'],
	'L_APACHE_HANDLERS' => $lang['apache_handlers'],
	'L_CRON_JOBS' => $lang['cron_jobs'],
	'L_DNS_LOOKUP' => $lang['dns_lookup'],
	'L_FRONTPAGE' => $lang['frontpage'],
	'L_HOTLINK_PROTECTION' => $lang['hotlink_protection'],
	'L_IP_DENY' => $lang['ip_deny'],
	'L_MIME_TYPES' => $lang['mime_types'],
	'L_MANAGE_PGP' => $lang['manage_pgp'],
	'L_PERL_MODULES' => $lang['perl_modules'],
	'L_SSL_INSTALLER' => $lang['ssl_installer'],
	'L_SSL_MANAGER' => $lang['ssl_manager'],
	'L_TRACE_ROUTE' => $lang['trace_route'],
	'L_CLAMAV' => $lang['clamav'],
	'L_PHPSYSINFO' => $lang['phpsysinfo'],
	'L_LANGUAGE' => $lang['language'],
	)
);


//
// Specific switches
//


//
// Accounts
//
$is_change_password_available = <<<EOFpacman
<cpanelfeature password>test</cpanelfeature>
EOFpacman;
if (!empty($is_change_password_available)) {
	$template->assign_block_vars('switch_change_password', array());
}

$is_dedicated_ip = <<<EOFpacman
<cpanelif $hasdedicatedip>test</cpanelif>
EOFpacman;
if (!empty($is_dedicated_ip)) {
	$template->assign_block_vars('switch_dedicated_ip', array());
}

$is_shared_ip = <<<EOFpacman
<cpanelif !$hasdedicatedip>test</cpanelif>
EOFpacman;
if (!empty($is_shared_ip)) {
	$template->assign_block_vars('switch_shared_ip', array());
}

$is_search_engine_submit_available = <<<EOFpacman
<cpanelfeature searchsubmit>test</cpanelfeature>
EOFpacman;
if (!empty($is_search_engine_submit_available)) {
	$template->assign_block_vars('switch_search_engine_submit', array());
}

$telnet_access = <<<EOF
<cpanelif $hasvalidshell><cpanelfeature ssh>test</cpanelfeature></cpanelif>
EOF;
if (!empty($telnet_access)) {
	$template->assign_block_vars('switch_shell_access', array());
}

$pro_support = <<<EOF
<cpanelfeature cpanelpro_support>test</cpanelfeature>
EOF;
if (!empty($pro_support) && $is_pro) {
	$template->assign_block_vars('switch_pro_support', array());
}

if (!empty($config['name_server_1'])) {
	$template->assign_block_vars('switch_name_server_1', array());
}

if (!empty($config['name_server_2'])) {
	$template->assign_block_vars('switch_name_server_2', array());
}


//
// Bandwidth
//
$is_bandwidth_available = <<<EOFpacman
<cpanelfeature bandwidth>test</cpanelfeature>
EOFpacman;
if (!empty($is_bandwidth_available)) {
	$template->assign_block_vars('switch_bandwidth', array());
}

$is_rawlogfiles_available = <<<EOFpacman
<cpanelfeature rawlog>test</cpanelfeature>
EOFpacman;
if (!empty($is_rawlogfiles_available)) {
	$template->assign_block_vars('switch_raw_log_files', array());
}

$is_error_log_available = <<<EOFpacman
<cpanelfeature errlog>test</cpanelfeature>
EOFpacman;
if (!empty($is_error_log_available)) {
	$template->assign_block_vars('switch_error_log', array());
}

$is_subdomain_stats_available = <<<EOFpacman
<cpanelfeature subdomainstats>test</cpanelfeature>
EOFpacman;
if (!empty($is_subdomain_stats_available)) {
	$template->assign_block_vars('switch_subdomain_stats', array());
}


//
// Domains
//
$is_subdomains_available = <<<EOFpacman
<cpanelfeature subdomains>test</cpanelfeature>
EOFpacman;
if (!empty($is_subdomains_available)) {
	$template->assign_block_vars('switch_subdomains', array());
}

$is_parked_domains_available = <<<EOFpacman
<cpanelfeature parkeddomains>test</cpanelfeature>
EOFpacman;
if (!empty($is_parked_domains_available)) {
	$template->assign_block_vars('switch_parked_domains', array());
}

$is_addon_domains_available = <<<EOFpacman
<cpanelfeature addondomains>test</cpanelfeature>
EOFpacman;
if (!empty($is_addon_domains_available)) {
	$template->assign_block_vars('switch_addon_domains', array());
}

$is_error_pages_available = <<<EOFpacman
<cpanelfeature errpgs>test</cpanelfeature>
EOFpacman;
if (!empty($is_error_pages_available)) {
	$template->assign_block_vars('switch_error_pages', array());
}

//
// Email
//
$is_webmail_available = <<<EOFpacman
<cpanelfeature webmail>test</cpanelfeature>
EOFpacman;
if (!empty($is_webmail_available)) {
	$template->assign_block_vars('switch_webmail', array());
}

$mailing_lists = <<<EOF
<cpanelif !$conf{'skipmailman'} $CPDATA{'FEATURE-MAILMAN'}><cpanelfeature lists>test</cpanelfeature></cpanelif>
EOF;
if (!empty($mailing_lists)) {
	$template->assign_block_vars('switch_mailing_lists', array());
}

$spam_assassin = <<<EOF
<cpanelif !$conf{'skipspamassassin'} $CPDATA{'FEATURE-SPAMASSASSIN'}><cpanelfeature spamassassin>test</cpanelfeature></cpanelif>
EOF;
if (!empty($spam_assassin)) {
	$template->assign_block_vars('switch_spam_assassin', array());
}

$pro_box_trapper = <<<EOF
<cpanelfeature cpanelpro_boxtrapper>test</cpanelfeature>
EOF;
if (!empty($pro_box_trapper) && $is_pro) {
	$template->assign_block_vars('switch_pro_box_trapper', array());
}

$email_domain_forward = <<<EOFpacman
<cpanelfeature emaildomainfwd>test</cpanelfeature>
EOFpacman;
if (!empty($email_domain_forward)) {
	$template->assign_block_vars('switch_email_domain_forwarding', array());
}


//
// Databases
//
$is_mysql_available = <<<EOF
<cpanelfeature mysql>test</cpanelfeature>
EOF;
if (!empty($is_mysql_available)) {
	$template->assign_block_vars('switch_mysql', array());
}

$is_postgresql_installed = <<<EOF
<cpanelif $haspostgres><cpanelfeature postgres>test</cpanelfeature></cpanelif>
EOF;
if (!empty($is_postgresql_installed)) {
	$template->assign_block_vars('switch_postgresql', array());
}


//
// Files
//
$is_filemanager_available = <<<EOFpacman
<cpanelfeature filemanager>test</cpanelfeature>
EOFpacman;
if (!empty($is_filemanager_available)) {
	$template->assign_block_vars('switch_filemanager', array());
}

$is_diskusage_available = <<<EOFpacman
<cpanelfeature diskusageviewer>test</cpanelfeature>
EOFpacman;
if (!empty($is_diskusage_available)) {
	$template->assign_block_vars('switch_disk_usage', array());
}

$is_backup_available = <<<EOFpacman
<cpanelfeature backup>test</cpanelfeature>
EOFpacman;
if (!empty($is_backup_available)) {
	$template->assign_block_vars('switch_backup', array());
}

$is_redirect_available = <<<EOFpacman
<cpanelfeature redirects>test</cpanelfeature>
EOFpacman;
if (!empty($is_redirect_available)) {
	$template->assign_block_vars('switch_redirect', array());
}

$is_index_manager_available = <<<EOFpacman
<cpanelfeature indexmanager>test</cpanelfeature>
EOFpacman;
if (!empty($is_index_manager_available)) {
	$template->assign_block_vars('switch_index_manager', array());
}

$pro_image_manager = <<<EOF
<cpanelfeature cpanelpro_images>test</cpanelfeature>
EOF;
if (!empty($pro_image_manager) && $is_pro) {
	$template->assign_block_vars('switch_pro_image_manager', array());
}

$ftp_accounts = <<<EOFpacman
<cpanelfeature ftpaccts>test</cpanelfeature>
EOFpacman;
if (!empty($ftp_accounts)) {
	$template->assign_block_vars('switch_ftp_accounts', array());
}

$ftp_setup = <<<EOFpacman
<cpanelfeature ftpsetup>test</cpanelfeature>
EOFpacman;
if (!empty($ftp_setup)) {
	$template->assign_block_vars('switch_ftp_setup', array());
}

//
// Scripts
//

$interchange = <<<EOF
<cpanelif !$CONF{'interchangever'}><cpanelfeature interchange>test</cpanelfeature></cpanelif>
EOF;
if (!empty($interchange)) {
	$template->assign_block_vars('switch_interchange', array());
}

$is_chatroom_available = <<<EOFpacman
<cpanelfeature chat>test</cpanelfeature>
EOFpacman;
if (!empty($is_chatroom_available)) {
	$template->assign_block_vars('switch_chatroom', array());
}

$is_addon_cgi_available = <<<EOFpacman
<cpanelfeature addoncgi>test</cpanelfeature>
EOFpacman;
if (!empty($is_addon_cgi_available)) {
	$template->assign_block_vars('switch_addon_cgi', array());
}

$is_agora_available = <<<EOFpacman
<cpanelfeature agora>test</cpanelfeature>
EOFpacman;
if (!empty($is_agora_available)) {
	$template->assign_block_vars('switch_agora', array());
}


//
// Server
//

$is_frontpage_available = <<<EOFpacman
<cpanelfeature frontpage>test</cpanelfeature>
EOFpacman;
if (!empty($is_frontpage_available)) {
	$template->assign_block_vars('switch_frontpage', array());
}

$is_cron_available = <<<EOFpacman
<cpanelfeature cron>test</cpanelfeature>
EOFpacman;
if (!empty($is_cron_available)) {
	$template->assign_block_vars('switch_cron', array());
}

$is_nettools_available = <<<EOFpacman
<cpanelfeature nettools>test</cpanelfeature>
EOFpacman;
if (!empty($is_nettools_available)) {
	$template->assign_block_vars('switch_nettools', array());
}

$is_mime_available = <<<EOFpacman
<cpanelfeature mime>test</cpanelfeature>
EOFpacman;
if (!empty($is_mime_available)) {
	$template->assign_block_vars('switch_mime', array());
}

$is_apache_handlers_available = <<<EOFpacman
<cpanelfeature handlers>test</cpanelfeature>
EOFpacman;
if (!empty($is_apache_handlers_available)) {
	$template->assign_block_vars('switch_apache_handlers', array());
}

$is_pgp_available = <<<EOFpacman
<cpanelfeature pgp>test</cpanelfeature>
EOFpacman;
if (!empty($is_pgp_available)) {
	$template->assign_block_vars('switch_pgp', array());
}

$is_hotlink_available = <<<EOFpacman
<cpanelfeature hotlink>test</cpanelfeature>
EOFpacman;
if (!empty($is_hotlink_available)) {
	$template->assign_block_vars('switch_hotlink', array());
}

$is_ip_deny_available = <<<EOFpacman
<cpanelfeature ipdeny>test</cpanelfeature>
EOFpacman;
if (!empty($is_ip_deny_available)) {
	$template->assign_block_vars('switch_ip_deny', array());
}

$is_ssl_manager_available = <<<EOFpacman
<cpanelfeature sslmanager>test</cpanelfeature>
EOFpacman;
if (!empty($is_ssl_manager_available)) {
	$template->assign_block_vars('switch_ssl_manager', array());
}

$is_ssl_installer_available = <<<EOFpacman
<cpanelif $isallowedssl><cpanelfeature sslinstall>test</cpanelfeature></cpanelif>
EOFpacman;
if (!empty($is_ssl_installer_available)) {
	$template->assign_block_vars('switch_ssl_installer', array());
}

if ($config['enable_phpsysinfo']) {
	$template->assign_block_vars('switch_phpsysinfo', array());
}


//
// Extra stuff
//
$clamav_connector = <<<EOFpacman
<cpanelfeature clamavconnector_scan>test</cpanelfeature>
EOFpacman;
if (!empty($clamav_connector)) {
	$template->assign_block_vars('switch_clamav', array());
}



$template->pparse('body');


?>

<cpanel include="./page_tail.php">